package com.itheima.mapper;

import com.itheima.domain.User;

import java.util.List;

public interface UserMapper {
    List<User> findAll();

    User login(User u);

    void add(User u);

    void delete(String delid);

    User findById(String upid);

    void update(User user);
}
